<script language="javascript">
<!--
function f_importContract() {
	var frmObj = document.forms(formName);
	frmObj.ActionType.value = "importcontract";
	frmObj.target = "frmhidden";
	frmObj.submit();

	document.all("importcontract").disabled = true;
}

/**
*/
function f_refresh() {
	window.top.returnValue = "success";
	window.top.close();
}

/**
*/
function f_otherClick() {
	var funcid = document.all("sfuncID").value;

	if (funcid == "pay_plan_search") {
		if (!trselObj.f_isSelectRow()) return false;

		var contextPath = document.all("contextPath").value;
		var keyid = trselObj.f_get_select_key();

		var href = contextPath + "/pageJumpAction.do?funcid=contract_pay_plan";
		href += "&where_sql=contract_pay_plan.contract_id = ?";
		href += "&where_value=" + keyid[0];
		href += "&where_type=string";
		href += "&pageType=showPayPlan";

		parent.frames("frmformdata").document.location.href = href;
	}
}
//-->
</script>